// 定义Link组件的Props
export type LinkType = 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
export interface LinkProps{
  type?: LinkType,
  underline?: boolean,
  disabled?: boolean,
  href?:string,
  target?: string,
  icon?: string
}

// 定义Link组件的事件
export const linkEmits = {
  click: (e: MouseEvent) => e instanceof MouseEvent,  //当链接被点击时触发的事件，返回一个布尔值
}
export type LinkEmits = typeof linkEmits
